package top.haichi.webpaper.service;

import top.haichi.webpaper.entity.Result;
import top.haichi.webpaper.entity.Student;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface StudentService {

    /**
     * 学生设置个人信息
     * @param student
     * @return
     */
    public Result setInformation(Student student);


//    /**
//     * 新增学生信息
//     * @param student
//     * @return
//     */
//    public Result addStudent(Student student);

    /**
     * 查询学生信息
     * @param student
     * @return
     */
    public Result getStudent(Student student);

//    /**
//     * 获取学生头像
//     * @param student
//     * @return
//     */
//    public byte[] getPortrait(Student student,HttpServletResponse response);

    public Result updateStudent(Student student);
}
